package com.zhou.syt.cmn.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName: HospConfig
 * @Description:
 * @Author: admin
 * @Date: 2021/12/11 13:29
 */
@Configuration
@MapperScan("com.zhou.syt.cmn.mapper")
public class HospConfig {
    
    /** 
     * @Description: 配置分页插件 
     * @Author: jz
     * @Date: 2021/12/13 9:11
     * @Param: 
     * @Return: 
     */
    @Bean
    public PaginationInterceptor paginationInterceptor(){
        return new PaginationInterceptor();
    }
}
